package com.ssy.lingxi.platform.manage.repository;

import com.ssy.lingxi.platform.manage.entity.base.RuleConfiguration;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RuleConfigurationRepository extends JpaRepository<RuleConfiguration, Long> {

    List<RuleConfiguration> findAllByIsPitchOnEqualsAndPlatformTypeEquals(Integer isPitchOn, Integer platformType);
}
